<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="box">123</div>
    <span id="sp">222</span>
    <script>
        var oBox = document.getElementById('box');
        console.dir(oBox); 

        var oSpan = document.getElementById('sp');
        console.dir(oSpan);
        // console.log(oBox instanceof Object)// oBox 是一个对象

        var oDiv = document.createElement('div');
        console.dir(oDiv);

        /**
         *  HTMLCollections
         *  HTMLDivElement--HTMLElement--Element -- Node -- EventTarget -- Object
         * 
         */
    </script>
</body>
</html>